import React, { Component } from 'react'
import { Icon, Button, Table, Switch, Form, Input, Popconfirm } from 'antd'
import { IndexLink, Link } from 'react-router'
import WilddogUp from './WilddogUp'
import WilddogRoom from './WilddogRoom'



export class WilddogHome extends Component {
  constructor(props) {
    super(props);
  }


  render() {
    let { auth } = this.props;


    return (
      <div id="wilddog">
          <div className="message wrap">
            {auth.status?null:<h2>未检测到登陆状态</h2>}
          </div>
           
            <div className="container-wilddog">
              <WilddogUp {...this.props}/>
              <WilddogRoom {...this.props}/>
            </div>
        
      </div>

    )
  }
}


export default WilddogHome
